
<nav class="navbar navbar-inverse navbar-fixed-top" ng-controller="navbarController as vm" id="nav">
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle show pull-left"
              data-target="sidebar">
        <span class="sr-only">Toggle navigation</span> <span
              class="icon-bar"></span><span class="icon-bar"></span><span
              class="icon-bar"></span>
      </button>
      <button type="button" class="navbar-toggle collapsed"
              data-toggle="collapse" data-target="#navbar" aria-expanded="false"
              aria-controls="navbar">
        <span class="sr-only">Toggle navigation</span> <span
              class="icon-bar"></span><span class="icon-bar"></span><span
              class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="/">首页</a>
    </div>
    <div id="navbar" class="collapse navbar-collapse">
      <ul class="nav navbar-nav">
        <li><a href="./#!/orderlist">订单管理</a></li>
        <li><span id="unreadNum" class="badge" style="background-color: red">0</span></li>
        <li><a href="./#!/foodlist">菜品管理</a></li>
        <li><a href="./#!/orderComment">订单评论</a></li>
        <li><a href="./#!/foodAd">菜品推荐</a></li>
        <li><a id="showStatus" >营业中...</a></li>
      </ul>
      
    </div>
  </div>
</nav>